From: emellor@ewan Date: Wed, 28 Sep 2005 13:02:38 +0000 (+0100) Subject: Minor tidy. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16769^2~16^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bcf976db0e9b0b84b49e3540cc809f9d3dab33a1;p=xen.git Minor tidy. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 21d365591c..45c0b2be44 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -615,7 +615,7 @@ class XendDomainInfo: if not reason in shutdown_reasons.values(): raise XendError('invalid reason:' + reason) self.storeVm("control/shutdown", reason) - if not reason in ['suspend']: + if not reason == 'suspend': self.storeVm('xend/shutdown_start_time', time.time())